package edu.gatech.oad.antlab.pkg1;


import edu.cs2335.antlab.pkg3.*;
import edu.gatech.oad.antlab.person.*;
import edu.gatech.oad.antlab.pkg2.*;


/**
 * CS2335 Ant Lab
 *
 * Prints out a simple message gathered from all of the other classes
 * in the package structure
 */
 public class AntLabMain {

    /**antlab11.java message class*/
    private AntLab11 ant11;

    /**antlab12.java message class*/
    private AntLab12 ant12;

    /**antlab21.java message class*/
    private AntLab21 ant21;

    /**antlab22.java message class*/
    private AntLab22 ant22;

    /**antlab31 java message class which is contained in a jar resource file*/
    private AntLab31 ant31;



    /**
     * the constructor that intializes all the helper classes
     */
    public AntLabMain () {

        ant11 = new AntLab11();
        ant12 = new AntLab12();
        ant21 = new AntLab21();
        ant22 = new AntLab22();
        ant31 = new AntLab31();


    }

    /**
     * gathers a string from all the other classes and prints the message
     * out to the console
     *
     */
    public void printOutMessage() {

        String toPrint =
            ant11.getMessage() + ant12.getMessage() + ant21.getMessage()
          + ant22.getMessage() + ant31.getMessage();

		  //Hi Josh, I'm causing a conflict and forcing a merge
          // josh sucks at life
		  Person1 p1 = new Person1("Tyler Johnston");
		  toPrint += p1.toString("tjohnston6");
		  //Person2 replace P2 with your name
		  //and ggg000x with your gt num
		  Person2 p2 = new Person2("Joshua Roberts");
		  toPrint += p2.toString("902648191");
		  //Person3 replace P3 with your name
		  //and ggg000x with your gt num
		  Person3 p3 = new Person3("SangHun Oh");
		  toPrint += p3.toString("soh72");
          //Person4 replace P4 with your name
          //and ggg000x with your gt num
          Person4 p4 = new Person4("Thomas Mahoney");
          toPrint += p4.toString("tmahoney3");
		  //Person5 replace P5 with your name
          //and ggg000x with your gt num
          Person5 p5 = new Person5("WonTaek Chung");
          toPrint += p5.toString("wchung8");
        System.out.println(toPrint);


    }


    /**
     * entry point for the program
     */
     public static void main(String[] args) {

        new AntLabMain().printOutMessage();

     }




 }

//           _                     __  __          __     __  _
// _______  | |  __  __           |  \/  |         \ \   / / | |
//|__   __| | | |  \/  |  ______  | \  / |     /\   \ \_/ /  | |
//   | |    | | | \  / | |______| | |\/| |    /  \   \   /   |_|
//   | |    | | | |\/| |          | |  | |   / /\ \   | |    (_)
//   | |    |_| | |  | |          |_|  |_|  / ____ \  |_|
//   |_|        |_|  |_|                   /_/    \_\
//                      _______,.........._
//                 _.::::::::::::::::::::::::._
//              _J::::::::::::::::::::::::::::::-.
//           _,J::::;::::::!:::::::::::!:::::::::::-."\_ ___
//        ,-:::::/::::::::::::/''''''-:/   \::::::::::::::::L_
//      ,;;;;;::!::/         V               -::::::::::::::::7
//    ,J:::::::/ \/                              '-'`\:::::::.7
//    |:::::::'                                       \::!:::/
//   J::::::/                                          `.!:\ dp
//   |:::::7                                             |/\:\
//  J::::/                                               \/ \:|
//  |:::/                                                    \:\
//  |::/                                                     |:.Y
//  |::7                                                      |:|
//  |:/                              `OOO8ooo._               |:|
//  |/               ,,oooo8OO'           `"`Y8o,             |'
//   |            ,odP"'                      `8P            /
//   |          ,8P'    _.__         .---.._                /
//   |           '   .-'    `-.    .'       `-.            /
//   `.            ,'          `. /            `.          L_
// .-.J.          /              Y               \        /_ \
//|    \         /               |                Y      // `|
// \ '\ \       Y          8B    |   8B           |     /Y   '
//  \  \ \      |                |                ;    / |  /
//   \  \ \     |               ,'.              /    /  L |
//    \  J \     \           _.'   `-._       _.'    /  _.'
//     `.___,\    `._     _,'          '-...-'     /'`"'
//            \      '---'  _____________         /
//             `.           \|T T T T T|/       ,'
//               `.           \_|_|_|_/       .'
//                 `.         `._.-..'      .'
//                   `._         `-'     _,'
//                      `--._________.--'
